class ListQuequ:
    def __init__(self,size):
        self.datas=[]
        self.size=size

    def enter_quequ(self,val):
        self.datas.append(val)

    def depart_quequ(self):
        result=self.datas[0]
        del(self.datas[0])
        return  result

    def show(self):
        print(self.datas[:])

    def is_empty(self):
        return len(self.datas)==0

    def is_full(self):
        return len(self.datas)>=self.size

if __name__=="__main__":
    queue=ListQuequ(4)
    print(queue.is_empty())
    queue.enter_quequ(1)
    queue.enter_quequ(2)
    queue.enter_quequ(3)
    queue.enter_quequ(4)
    print(queue.is_full())
    queue.show()
    queue.depart_quequ()
    queue.show()
    queue.depart_quequ()
    queue.show()
    print(queue.is_empty())
